import request from '@/utils/request'
/** 分类列表查询 */
export const getCartList = () => request.get('/cart/list')

export const addCartCommodity = (cid,number) => request.post('/cart/add', {
  cid,
  number
})

// 删除购物车
export const delSelect = (cartIds) => {
  return request.get('/cart/clear', {
    params: { cartIds }
  })
}
